Learn how to extract year month and day from date field